<template>
	<view class="padb30">
		<stop isBack>
			<block slot="content">微信消息绑定</block>
			<block slot="backText">返回</block>
		</stop>
		<view class="bcf pad3 lh2">
			<view class="list-style-1">绑定流程</view>
			<view class="flrc mart3">
				<view class="flex1">1.关注微信公众号：Yum消息</view>
				<view class="cu-btn sm line-green" @click="copy('yummessage')">复制</view>
			</view>
			<view class="flrc mart3">
				<view class="flex1">2.当前应用手机号：{{phone}}</view>
				<view class="cu-btn sm line-green" @click="copy(phone)">复制</view>
			</view>
			<view class="flrc mart3">
				<view class="flex1">3.在公众号内直接发送您的手机号：{{phone}} <br> 进行绑定</view>
			</view>
		</view>
		
		<view class="mart5 bcf pad3 lh15">
			<view class="list-style-2 c03">为什么绑定微信</view>
			<view class="lh2">
				<view>1.APP内置推送容易被系统杀死，会丢失消息</view>
				<view>2.微信长期驻存系统，切消息直接在微信聊天列表内展示，不易遗漏</view>
				<view>3.微信消息延迟低，送到达率高</view>
				<view>4.合理利用微信功能，减少系统资源占用</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				phone:''
			}
		},
		methods: {
			
		},
		created() {
			
			this.$api.get('/api/machine/get_user_info',{},(res)=>{
				this.log(res)
				this.login = res.d.login
				this.user = res.d.wuser
				this.phone = res.d.wuser.phone
			})
		}
	}
</script>

<style>

</style>
